<template>
  <div class="upload">
    <div>生命周期:</div>
    <br />

    <div>创建阶段：setup</div>
    <br />
    <div>挂载阶段：onBeforeMount, onMounted</div>
    <br />
    <div>更新阶段：onBeforeUpdate, onUpdated</div>
    <br />
    <div>卸载阶段：onBeforeUnmount, onUnmounted</div>
  </div>
</template>

<script setup lang="ts" name="LifeCycle">
import { ref, watchEffect } from "vue";
</script>

<style scoped lang="scss"></style>
